PermissionDescriptor

data class PermissionDescriptor(name: String, sysex: Boolean?, userVisibleOnly: Boolean?, allowWithoutSanitization: Boolean?, panTiltZoom: Boolean?)

Definition of PermissionDescriptor defined in the Permissions API: https://w3c.github.io/permissions/#dictdef-permissiondescriptor.

Constructors

PermissionDescriptor
Link copied to clipboard
fun PermissionDescriptor(name: String, sysex: Boolean? = null, userVisibleOnly: Boolean? = null, allowWithoutSanitization: Boolean? = null, panTiltZoom: Boolean? = null)

Properties

allowWithoutSanitization
Link copied to clipboard
val allowWithoutSanitization: Boolean? = null
For "clipboard" permission, may specify allowWithoutSanitization.
name
Link copied to clipboard
val name: String
Name of permission.
panTiltZoom
Link copied to clipboard
val panTiltZoom: Boolean? = null
For "camera" permission, may specify panTiltZoom.
sysex
Link copied to clipboard
val sysex: Boolean? = null
For "midi" permission, may also specify sysex control.
userVisibleOnly
Link copied to clipboard
val userVisibleOnly: Boolean? = null
For "push" permission, may specify userVisibleOnly.

Sources

jvm source
Link copied to clipboard